package com.mysoft.gfyx.marketdevelop.controller;

import com.mysoft.framework.modeling.dataapi.DataApi;
import com.mysoft.framework.modeling.dataapi.LoadDataApi;
import com.mysoft.framework.mvc.api.Controller;
import com.mysoft.framework.rpc.annotation.PubAction;
import com.mysoft.framework.rpc.annotation.PubService;
import com.mysoft.framework.rpc.contants.RequestPrefix;
import com.mysoft.gfyx.marketdevelop.controller.dto.advancesearch.AdvanceSearchFieldGroupDto;
import com.mysoft.gfyx.marketdevelop.remoteService.RemoteSubscriptionService;
import io.swagger.v3.oas.annotations.tags.Tag;
import org.springframework.web.bind.annotation.RequestMethod;

import javax.annotation.Resource;

@PubService(value = "/marketReportDataApi", prefix = RequestPrefix.API)
@Tag(name = " 市场报告-API")
public class MarketReportDataApiController extends Controller implements DataApi {
    @Resource
    private RemoteSubscriptionService remoteSubscriptionService;

    //获取高级筛选字段组+字段元数据
    @PubAction(value = "/isSetAdminSubscription", method = RequestMethod.POST)
    public boolean isSetAdminSubscription() {
        return remoteSubscriptionService.isSetAdminSubscription();
    }
}
